
CMAKE_MINIMUM_REQUIRED (VERSION 3.19.2)

PROJECT (pangu)

SET (CMAKE_EXPORT_COMPILE_COMMANDS 1 )
SET (CXX_STANDARD 17)
SET (CMAKE_CXX_FLAGS -std=c++17)

# Sources
AUX_SOURCE_DIRECTORY (${PROJECT_SOURCE_DIR}/src DIR_SRCS)
ADD_EXECUTABLE (pangu
    ${DIR_SRCS}
    )

# headers
TARGET_INCLUDE_DIRECTORIES (pangu
    PRIVATE
    ${PROJECT_SOURCE_DIR}/include
    ${PROJECT_SOURCE_DIR}/src
    )

target_link_directories (pangu PRIVATE ${draco_LIBRARY_DIR})

# libraries
TARGET_LINK_LIBRARIES (pangu
    PRIVATE
    GL
    glfw
    dl
    pthread
    )

